// 循环判断
function myInstanceof(obj, proto) {
  let prototype = proto.prototype;
  while (true) {
    if (obj === null) {
      return false;
    }
    if (obj === prototype) {
      return true;
    }
    prototype = prototype.__proto__;
  }
}


